package com.bzg.spring.application;

import com.bzg.spring.myenum.Scope;

public class MyBeanDefinition {

	private Class<?> beanClass;

	private String beanName;  // spring的beanDefinition中实际上是没有记录beanName的

	private boolean isLazy;

	private String scope = Scope.SINGLETON.getValue();

	public boolean isLazy() {
		return isLazy;
	}

	public void setLazy(boolean lazy) {
		isLazy = lazy;
	}

	public String getScope() {
		return scope;
	}

	public void setScope(String scope) {
		this.scope = scope;
	}

	public String getBeanName() {
		return beanName;
	}

	public void setBeanName(String beanName) {
		this.beanName = beanName;
	}

	public Class<?> getBeanClass() {
		return beanClass;
	}

	public void setBeanClass(Class<?> beanClass) {
		this.beanClass = beanClass;
	}
}
